/**
 * Project Name:bfs_v1.0.1
 * File Name:PntenterServiceImpl.java
 * Package Name:com.zeei.bfs.service.impl
 * Date:2017年2月16日下午2:57:58
 * Copyright (c) 2017, ZEEI All Rights Reserved. *
 *
 * ClassName:PntenterServiceImpl 
 * Function: TODO ADD FUNCTION.  
 * @author   zws 
 * @since    JDK 1.8	 
 */

package com.zeei.bfs.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zeei.bfs.dao.PntenterDao;
import com.zeei.bfs.service.PntenterService;
import com.zeei.common.vo.UserPntenterVO;

@Service("pntenterService")
public class PntenterServiceImpl implements PntenterService {

	@Autowired
	private PntenterDao pntenterDao;

	@Override
	public List<UserPntenterVO> queryPntenter(Integer userId, String type) {
		Map<String, Object> condition = new HashMap<String, Object>();
		condition.put("userId", userId);
		condition.put("type", type);
		List<UserPntenterVO> pntenterList = pntenterDao.queryPntenterByCondition(condition);
		return pntenterList;
	}

}
